package com.wkck.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wkck.domain.User;
import com.wkck.domain.UserSendResume;
import com.wkck.dto.ModifyUserPasswordDto;
import com.wkck.dto.QueryUserConditionDto;

import java.util.List;

public interface UserService extends IService<User> {

    User getUserMsgByUserName(String username);

    List<UserSendResume> getUserSendResumeMsg(Integer id);

    /**
     * @Author: CK
     * @Date: 2023/11/26
     * @Param: [queryUserConditionDto]
     * @return: 用户集合
     * @Description: 查询用户列表
     */
    IPage<User> queryByConditions(QueryUserConditionDto queryUserConditionDto);

    /**
     * @Author: CK
     * @Date: 2023/11/27
     * @Param: [modifyUserPasswordDto]
     * @return: 密码修改是否成功
     * @Description: 修改用户密码
     */
    Boolean modifyUserPassword(ModifyUserPasswordDto modifyUserPasswordDto);
}
